package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 会员收货地址实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_member_receive_address")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsMemberReceiveAddressEntity对象", description = "会员收货地址")
public class UmsMemberReceiveAddressEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "member_id")
    @TableField("member_id")
        private Long memberId;

        @ApiModelProperty(value = "收货人姓名")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "电话")
    @TableField("phone")
        private String phone;

        @ApiModelProperty(value = "邮政编码")
    @TableField("post_code")
        private String postCode;

        @ApiModelProperty(value = "省份/直辖市")
    @TableField("province")
        private String province;

        @ApiModelProperty(value = "城市")
    @TableField("city")
        private String city;

        @ApiModelProperty(value = "区")
    @TableField("region")
        private String region;

        @ApiModelProperty(value = "详细地址(街道)")
    @TableField("detail_address")
        private String detailAddress;

        @ApiModelProperty(value = "省市区代码")
    @TableField("areacode")
        private String areacode;

        @ApiModelProperty(value = "是否默认")
    @TableField("default_status")
        private Boolean defaultStatus;

        }